package com.elcom.roaming.module.synthesis.pr;

import com.elcom.roaming.common.util.match.ObjectInput;

public class PRMessage extends ObjectInput {
	public PRMessage(int seq, String time, String type, String orgTransId, String termTransId, String imsi, String msisdn, String msrn) {
		setKey(new PRKey(seq, time, orgTransId, termTransId));
		
		if (type.equals("P0"))
			setValue(new PRValue(imsi, msisdn));
		else setValue(new PRValue(msrn));
	}
}
